﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Solution.Entity.Entitys
{
    public partial class Role
    {
        public Role()
        {
            this.EmpRoleRelation = new HashSet<EmpRoleRelation>();
            this.RolePerRelationship = new HashSet<RolePerRelationship>();
        }
        [Key]
        public int roleId { get; set; }
        public Nullable<int> roleDepId { get; set; }
        public string roleName { get; set; }
        public bool roleIsDel { get; set; }
        public System.DateTime roleAddTime { get; set; }

        public virtual ICollection<EmpRoleRelation> EmpRoleRelation { get; set; }
        public virtual ICollection<RolePerRelationship> RolePerRelationship { get; set; }
    }
}
